﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace shop.exception
{
    public class ShopException : ApplicationException
    {
        public string ErrorMessage { get; set; }
        public int ErroCode { get; set; }
        public ShopException(string errorMessage)
        {
            ErrorMessage = errorMessage;
        }

        public ShopException(int code ,string errorMessage)
        {
            ErrorMessage = errorMessage;
            ErroCode = code;
        }
    }
}